﻿//////////////////////////////////////////////////////////////////////////////////////
///// Floor.cs                                                              /////
///// 각각의 위치에 관한 정보                                  /////
//////////////////////////////////////////////////////////////////////////////////////
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Input.Touch;
using Microsoft.Xna.Framework.Media;

namespace Pyramid_Game
{
    public class Floor
    {
        #region Declarations

        string state;
        int nextIndex;
        int leftIndex;
        
        #endregion

        #region Property

        public string State
        {
            set { state = value; }
            get { return state; }
        }
        public int NextIndex
        {
            set { nextIndex = value; }
            get { return nextIndex; }
        }
        public int LeftIndex
        {
            set { leftIndex = value; }
            get { return leftIndex; }
        }

        #endregion

        #region Constructor
        
        public Floor(string state)
        {
            this.state = state;
        }
        public Floor(string state, int next)
        {
            this.state = state;
            this.nextIndex = next;
        }
        public Floor(string state, int leftIndex, int next)
        {
            this.state = state;
            this.leftIndex = leftIndex;
            this.nextIndex = next;
        }

        #endregion
    }
}
